import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {CommonModule} from '@angular/common';
import {MaterialModule} from '../shared/material.module';
import {WasherListComponent} from './washer-list/washer-list.component';
import {WashersRoutingModule} from './washers-routing.module';
import {CoreModule} from '../core/core.module';
import {ConfirmDialogComponent} from '../core/confirm-dialog/confirm-dialog.component';
import { WasherDetailComponent } from './washer-detail/washer-detail.component';
import {FlexLayoutModule} from '@angular/flex-layout';
import {WasherService} from './shared/washer.service';

@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    MaterialModule,
    FlexLayoutModule,
    CoreModule,
    WashersRoutingModule
  ],
  declarations: [
    WasherListComponent,
    WasherDetailComponent,
  ],
  providers: [
    WasherService
  ],
  entryComponents: [
    ConfirmDialogComponent
  ]
})

export class WashersModule {}
